package com.crmweb.dto;

import java.util.List;

public class XTreeDto {

	private int id;
	private String title;
	private String value;
	private int pid;
	private boolean checked;
	private List<XTreeDto> data;
	
	@Override
	public String toString() {
		return "XTreeDto [id=" + id + ", title=" + title + ", value=" + value + ", pid=" + pid + ", data=" + data + "]";
	}
	

	public boolean isChecked() {
		return checked;
	}


	public void setChecked(boolean checked) {
		this.checked = checked;
	}


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public List<XTreeDto> getData() {
		return data;
	}

	public void setData(List<XTreeDto> data) {
		this.data = data;
	}
	
	
}
